#ifndef GAMECONTROLLERMTG_H
#define GAMECONTROLLERMTG_H

#include <QObject>
#include <QVector>

#include "cardpool.h"
#include "cardscene.h"
#include "mtgplayer.h"
#include "cardpoolviewobject.h"

class GameControllerMTG : public QObject
{
Q_OBJECT
public:
    explicit GameControllerMTG(CardScene *);

    void addPool(CardPool *);

    void run();

    MTGPLayer *CurrentPlayer();

signals:

public slots:
    void updateScene();

private:
//    QVector<CardPool> m_Cardpools;
    QVector<MTGPLayer *> m_Players;
    QVector<ICardViewObjectData *> m_ViewObjects;
    CardScene *m_Scene;
    int m_CurrentPlayer;
    void init();
};

#endif // GAMECONTROLLERMTG_H
